<?php
$this->breadcrumbs=array(
	'Foods'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Food', 'url'=>array('index')),
	array('label'=>'Create Food', 'url'=>array('create')),
	array('label'=>'Update Food', 'url'=>array('update', 'id'=>$model->foodId)),
	array('label'=>'Delete Food', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->foodId),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Food', 'url'=>array('admin')),
);
?>

<h1>View Food #<?php echo $model->foodId; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'foodId',
		'name',
		'foodGroupId',
		'shortDescription',
		'water',
		'energyKcal',
		'protein',
		'carbohydrate',
		'totalDietaryFiber',
		'totalSugar',
		'calcium',
		'iron',
		'magnesium',
		'phosphorus',
		'potassium',
		'sodium',
		'zinc',
		'copper',
		'manganese',
		'selenium',
		'vitaminC',
		'thiaminB1',
		'riboflavinB2',
		'niacin',
		'vitaminB6',
		'folicAcid',
		'vitaminB12',
		'vitaminAIU',
		'vitaminE',
		'vitaminDIU',
		'saturatedFattyAcid',
		'monoFattyAcid',
		'polyFattyAcid',
		'cholesterol',
		'gramWeight1',
		'gramWeightDescription1',
		'gramWeight2',
		'gramWeightDescription2',
		'percentRefuse',
	),
)); ?>
